package cn.edu.nit.sys.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * @Author 罗文斌
 * @Date 2023/3/21
 * @Version 1.0.0
 */
@Getter
public enum DayTimeEnum {

    ONE(0, "第一二节"),
    TOW(1, "第三四节"),
    THREE(2, "第四五节"),
    FOUR(3, "第五六节"),
    FIVE(4, "第七八节");

    @EnumValue
    private int code;
    @JsonValue
    private String label;

    DayTimeEnum(int code, String label) {
        this.code = code;
        this.label = label;
    }
}
